﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Arith.Inheritance
{
    class InheritDemo1
    {
        public static void Main()
        {
            Child1 ch=new Child1();
            Child2 ch2 = new Child2();
            ch.ShowFather();
            ch.ShowChild();


            ch2.ShowFather();
            ch2.ShowChild();
            Console.Read();
        }
    }
}
